package cn.edu.xust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * 
 * @author ufo
 * @email 2575829997@qq.com
 * @date 2024-03-27 18:09:23
 */
@Data
@TableName("gateway")
public class GatewayEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;
	/**
	 * 网关名称
	 */
	private String name;
	/**
	 *
	 */
	private String ip;
	/**
	 * 
	 */
	private String note;
	/**
	 * 
	 */
	private Date ctime;
	/**
	 * 
	 */
	private String registtxt;
	/**
	 * 
	 */
	private String heartbeattxt;
	/**
	 * 最近更新时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date utime;
	/**
	 * 
	 */
	private String nickname;
	private String realstate;
	private String hotelid;

}
